home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / linux / nfs_fs_i.h < prev    next >
C/C++ Source or Header  |  2005-10-13  |  400b  |  26 lines

  1. #ifndef _NFS_FS_I
  2. #define _NFS_FS_I
  3.  
  4. #include <asm/types.h>
  5. #include <linux/list.h>
  6. #include <linux/nfs.h>
  7.  
  8. struct nlm_lockowner;
  9.  
  10. /*
  11.  * NFS lock info
  12.  */
  13. struct nfs_lock_info {
  14.     u32        state;
  15.     u32        flags;
  16.     struct nlm_lockowner *owner;
  17. };
  18.  
  19. /*
  20.  * Lock flag values
  21.  */
  22. #define NFS_LCK_GRANTED        0x0001        /* lock has been granted */
  23. #define NFS_LCK_RECLAIM        0x0002        /* lock marked for reclaiming */
  24.  
  25. #endif
  26.